package com.itcast.service;

import com.itcast.dto.InsertMemberDTO;
import com.itcast.dto.MemberLoginDTO;
import com.itcast.entity.Result;
import com.itcast.pojo.Member;

import java.util.List;

/**
 * @className: MemberService
 * @description: TODO 类描述
 * @author: Jng
 * @date: 2022/4/18
 **/
public interface MemberService {
    List<Integer> findMemberCountByMonths(List<String> months);

    Result login4EmailAndPwd(MemberLoginDTO memberLoginDTO);

    Result registerMember(Member member);

    Result getUserDetails(Integer id);

    Result updateUserDetails(Member member);

    Result addUser(InsertMemberDTO insertMemberDTO);
}
